package com.zhang.genericdemo;

import com.zhang.genericdemo.actuator.Client;
import com.zhang.genericdemo.request.impl.RequestA;
import com.zhang.genericdemo.response.impl.ResponseA;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class GenericDemoApplication {
    public static void main(String[] args) {
        Client client = new Client();

        RequestA requestA = new RequestA();
        requestA.setAge(18);
        requestA.setName("张三");
        requestA.setMethod("getOne");
        ResponseA responseA = client.execute(requestA);
    }

}
